host-interaction/environment-variable

set environment variable

rule:
  meta:
    name: set environment variable
    namespace: host-interaction/environment-variable
    authors:
      - michael.hunhoff@mandiant.com
    scopes:
      static: function
      dynamic: call
    mbc:
      - Operating System::Environment Variable::Set Variable [C0034.001]
    examples:
      - 0731679c5f99e8ee65d8b29a3cabfc6b:0x43EA81
  features:
    - or:
      - api: kernel32.SetEnvironmentStrings
      - api: kernel32.SetEnvironmentVariable
      - api: System.Environment::SetEnvironmentVariable

last edited: 2023-11-24 10:34:28